package com.wq.sofa.framework.rpc.boot.factory.annotations;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * @Author: wangqiang20995
 * @Date:2018/10/15
 * @Description:
 * @Resource:
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface SofaRpcService {
    Class<?> interfaceType() default void.class;

    String protocol() default "bolt";
}
